/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.TourOrderDTO;
import java.util.ArrayList;

/**
 *
 * @author nguyendat
 */
public interface TourOrderInterface {

    ArrayList<TourOrderDTO> readByAll();

    ArrayList<TourOrderDTO> findByOrderDate(String orderDate);

    TourOrderDTO findById(int id);

    ArrayList<TourOrderDTO> findByOrderDto(TourOrderDTO dto);

    int create(TourOrderDTO dto);

    boolean update(TourOrderDTO dto);

    boolean delete(TourOrderDTO dto);

    boolean delete(int id);
}
